package com.pig4cloud.mall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 存储产品参数信息的表
 *
 * @author fangyu
 * @date 2020-12-26 23:41:08
 */
@Data
@TableName("pms_product_attribute_value")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "存储产品参数信息的表")
public class ProductAttributeValue extends Model<ProductAttributeValue> {
private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId
    @ApiModelProperty(value="")
    private Long id;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private Long productId;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private Long productAttributeId;
    /**
     * 手动添加规格或参数的值，参数单值，规格有多个时以逗号隔开
     */
    @ApiModelProperty(value="手动添加规格或参数的值，参数单值，规格有多个时以逗号隔开")
    private String value;
    }
